package cn.itsource.mapper;

import cn.itsource.domain.Menu;

import java.util.List;

public interface MenuMapper {

    /**--------------------------------------------------------
     查询所有的菜单，树状结构
     --------------------------------------------------------**/
    List<Menu> selectAllForTree();

    List<Menu> selectMenuTreeByUserId(Long userId);
}
